<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <%@ include file="/include/meta.jsp"%>
    <title>修改字典类型</title>
    <link rel="stylesheet" type="text/css" href="wro/edit.css" />
</head>
<body>
    <form action="system/dictionary!saveForUpdateType.action" style='display:none;'>
        <input type="hidden" name="dictionaryType.id" value="${dictionaryType.id}"/>
        <input type="hidden" name="dictionaryType.treeStructure" value="${dictionaryType.treeStructure }" />
        <div class="form-group">
            <label for="name" class="col-sm-2 control-label"><font style='color:red;'>*</font>名称</label>
                <div class="col-sm-7">
                    <input type="text" title='名称' class="form-control" id='name' name="dictionaryType.name" value="${dictionaryType.name }" />
                </div>
                <div class="col-sm-3">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" id='treeStructure'  />允许多级
                        </label>
                    </div>
                </div>
        </div>
        <textArea title="备注" id='memo' name="dictionaryType.memo" rows="5">${dictionaryType.memo}</textArea>
        <div class="text-center">
            <input type="submit" value="提交" class='btn btn-primary' />
            <input type="button" value="取消" class='btn btn-warning' onclick="closeDialog();" />
        </div>
    </form>
    <script type="text/javascript" src="wro/edit.js"></script>
    <script type="text/javascript" src="res/page/system/dictionary_update_type.js"></script>
</body>
</html>